﻿using System;
using KPIS.GERP.GFMS.MODEL;
using System.Collections.Generic;
using System.Data;

namespace KPIS.GERP.GFMS.IBLL
{
    public interface IBLL_FIM_MAS_BankAccounts
    {
        IList<M_FIM_MAS_BankAccounts> GetFull();
        IList<M_FIM_MAS_BankAccounts> GetFull(string bank_acc_type_grp_seq);
        IList<M_FIM_MAS_BankAccounts> GetFull(string bank_acc_type_grp_seq, string bgm_source_seq);//, string sub_source_seq);
        IList<M_FIM_MAS_BankAccounts> GetList(string bank_acc_type_grp_seq, string bgm_source_seq
            , string bank_seq, string branch_seq, bool bAdvance = false);
        M_FIM_MAS_BankAccounts GetInfo(string seq);
        DataTable GetBankAccountHistory(string bank_acc_seq, DateTime? dFromDate, DateTime? dToDate);
        DataTable GetBankAccountReport(int bank_acc_seq, DateTime? dFromDate, DateTime? dToDate);
        DataTable SumAmountReport(int bank_acc_seq, DateTime? dFromDate, DateTime? dToDate);
        void Insert(M_FIM_MAS_BankAccounts info);
        void Update(M_FIM_MAS_BankAccounts info);
        void Delete(M_FIM_MAS_BankAccounts info);
    }
}
